<?php
$this->pageTitle = Yii::t('app', 'View') . ' ' . GxHtml::encode($model->label());
$this->menu = array(  
    array('label' => Yii::t('app', 'Create') . ' ' . $model->label(), 'url' => array('create')),
    array('label' => Yii::t('app', 'Update') . ' ' . $model->label(), 'url' => array('update', 'id' => $model->id)),
    array('label' => Yii::t('app', 'Delete') . ' ' . $model->label(), 'url' => '#', 'linkOptions' => array('submit' => array('delete', 'id' => $model->id), 'confirm' => 'Are you sure you want to delete this item?')),
    array('label' => Yii::t('app', 'Manage') . ' ' . $model->label(2), 'url' => array('admin')),
);
?>
<h3><?php echo Yii::t('app', 'View') . ' ' . GxHtml::encode($model->label()); ?></h3>
<?php
$this->widget('zii.widgets.CDetailView', array(
    'data' => $model,
    'attributes' => array(
        'name',
        array(
            'name' => 'country_id',
            'value' => $model->country->name,
        ),
        array(
            'name' => 'is_active',
            'type' => 'image',
            'htmlOptions' => array('class' => 'gridmaxwidth', 'style' => 'width: 15px !important'),
            'value' => SkillConfig::Activestatus($model),
        ),
    ),
));
?>

